<div id="customer_return" class="menu hide">
    <?php echo $html->link('Return to Inventory', array('controller' => 'cust_stock_out_returns', 'action' => 'display')); ?>
    <?php
    // ถ้า view มาจาก Supplier ไม่ต้องเป็น return to its และ title ไม่ต้องมีคำว่า Other
    if ($session->read('Auth.User.Extend.from_supplier') == true) {
        $title = 'Return to Vendor';
    } else {
        $title = 'Return to Other Vendor';
        echo $html->link('Return to ITS', array('controller' => 'cust_returns', 'action' => 'display'));
    } ?>
    <?php echo $html->link($title, array('controller' => 'cust_return_to_suppliers', 'action' => 'display')); ?>
</div>
<div id="customer_stock_out" class="menu hide">
    <?php echo $html->link('Stock out', array('controller' => 'cust_stocks_out', 'action' => 'display')); ?>
    <?php echo $html->link('Reserve', array('controller' => 'cust_reserves', 'action' => 'display')); ?>
</div>